/*
 * @Description:
 * @Autor: 刘诗文
 * @Date: 2020-11-10 09:44:23
 * @LastEditors: 刘诗文
 * @LastEditTime: 2020-11-13 11:01:45
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 获取表格数据
export const getCustomerGrade = params => axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customerGrade/customerGrade/getCustomerGrade`, { params });
// 修改
export const updateCustomerGrade = params => axios.post(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customerGrade/customerGrade/updateCustomerGrade`, params);
// 新增
export const saveCustomerGrade = params => axios.post(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customerGrade/customerGrade/saveCustomerGrade`, params);
